home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJINC106.ARJ / FLOAT.H < prev    next >
Text File  |  1992-03-28  |  3KB  |  68 lines

  1. /* float.h */
  2. /* Produced by enquire version 4.3, CWI, Amsterdam */
  3.  
  4.    /* Radix of exponent representation */
  5. #define FLT_RADIX 2
  6.    /* Number of base-FLT_RADIX digits in the significand of a float */
  7. #define FLT_MANT_DIG 24
  8.    /* Number of decimal digits of precision in a float */
  9. #define FLT_DIG 6
  10.    /* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown */
  11. #define FLT_ROUNDS 1
  12.    /* Difference between 1.0 and the minimum float greater than 1.0 */
  13. #define FLT_EPSILON 1.19209290e-07F
  14.    /* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
  15. #define FLT_MIN_EXP (-125)
  16.    /* Minimum normalised float */
  17. #define FLT_MIN 1.17549435e-38F
  18.    /* Minimum int x such that 10**x is a normalised float */
  19. #define FLT_MIN_10_EXP (-37)
  20.    /* Maximum int x such that FLT_RADIX**(x-1) is a representable float */
  21. #define FLT_MAX_EXP 128
  22.    /* Maximum float */
  23. #define FLT_MAX 3.40282347e+38F
  24.    /* Maximum int x such that 10**x is a representable float */
  25. #define FLT_MAX_10_EXP 38
  26.  
  27.    /* Number of base-FLT_RADIX digits in the significand of a double */
  28. #define DBL_MANT_DIG 53
  29.    /* Number of decimal digits of precision in a double */
  30. #define DBL_DIG 15
  31.    /* Difference between 1.0 and the minimum double greater than 1.0 */
  32. #define DBL_EPSILON 2.2204460492503131e-16
  33.    /* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */
  34. #define DBL_MIN_EXP (-1021)
  35.    /* Minimum normalised double */
  36. #define DBL_MIN 2.2250738585072010e-308
  37.  
  38.    /* Minimum int x such that 10**x is a normalised double */
  39. #define DBL_MIN_10_EXP (-307)
  40.    /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
  41. #define DBL_MAX_EXP 1024
  42.    /* Maximum double */
  43. #define DBL_MAX 1.7976931348623167e+308
  44.  
  45.    /* Maximum int x such that 10**x is a representable double */
  46. #define DBL_MAX_10_EXP 308
  47.  
  48.    /* Number of base-FLT_RADIX digits in the significand of a long double */
  49. #define LDBL_MANT_DIG 53
  50.    /* Number of decimal digits of precision in a long double */
  51. #define LDBL_DIG 15
  52.    /* Difference between 1.0 and the minimum long double greater than 1.0 */
  53. #define LDBL_EPSILON 2.2204460492503131e-16L
  54.    /* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */
  55. #define LDBL_MIN_EXP (-1021)
  56.    /* Minimum normalised long double */
  57. #define LDBL_MIN 2.2250738585072010e-308L
  58.  
  59.    /* Minimum int x such that 10**x is a normalised long double */
  60. #define LDBL_MIN_10_EXP (-307)
  61.    /* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
  62. #define LDBL_MAX_EXP 1024
  63.    /* Maximum long double */
  64. #define LDBL_MAX 1.7976931348623167e+308L
  65.  
  66.    /* Maximum int x such that 10**x is a representable long double */
  67. #define LDBL_MAX_10_EXP 308
  68.